package com.ty.skysystem.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ty.skysystem.entity.TruckEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ty.skysystem.entity.req.TruckEntityREQ;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 车辆信息表: 用于存放和管理车辆信息 字段列: team_id => 对应表: truck_team
 *
 * @author tianyuzhu
 * @email 1659770218@QQ.COM
 * @date 2020-12-11 15:30:43
 */
@Mapper
public interface TruckDao extends BaseMapper<TruckEntity> {

  IPage<TruckEntity> selectTruckUnboundDriver(
      IPage<TruckEntity> page, TruckEntityREQ truckEntityREQ);

  IPage<TruckEntity> unscheduledDispatchBindDriverTruck(
      IPage<TruckEntity> page, TruckEntityREQ truckEntityREQ);
}
